/**
 *
 *
 *
 *
 *
 */

package com.person.modules.person.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.person.modules.person.entity.CountEntity;
import com.person.modules.person.entity.UserDocEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 数据字典
 *
 * @author 
 */
@Mapper
public interface UserDocDao extends BaseMapper<UserDocEntity> {
	 List<UserDocEntity> getDocList(@Param(value = "companyId") Long companyId);

	 void updateLeaveTime(@Param("ids")Long ids,@Param("leaveTime")String leaveTime);

	 void updateStatus(@Param("ids")Long ids);
	 int add(UserDocEntity userDocEntity);
	List<UserDocEntity> queryListByCompanyId(@Param("companyId") Long companyId);
	List<UserDocEntity> queryUserDocBackground(@Param("name") String name,@Param("identityCard") String identityCard);
	CountEntity getCount(@Param("companyId") Long companyId);

}
